#ifndef XGSTRING_H
#define XGSTRING_H
#include "headers.h"
class xgstring
{
public:
    xgstring();
    static int kmp(QString s, QString a,int i = 0);
    static QString getField(QString s, QString begin, QString end, int k = 0);
    static QString getField(QString s, QString begin, int k = 0);
    static QString simplify(QString in);
    static QString changetime(QString in);
    static int getzhnum(QString in);
};

#endif // XGSTRING_H
